<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${combo.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">套餐编号：</label>
								<div class="col-sm-8">
									<input id="combonumber" name="combonumber" th:value="${combo.combonumber}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">套餐名称：</label>
								<div class="col-sm-8">
									<input id="comboname" name="comboname" th:value="${combo.comboname}" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">套餐商品：</label>
								<input type="hidden" value="" name="pId" id="pId">
								<input type="hidden" value="" name="oldpid" id="oldpid">
								<div class="col-sm-8">
									<input class="form-control" type="text" onclick="openUser()"
										   readonly="readonly" placeholder="选择商品">
								</div>
								<div>
									<table id="goodsTable" data-mobile-responsive="true">
									</table>
								</div>
							</div>


														<div class="form-group">	
								<label class="col-sm-3 control-label">套餐价格：</label>
								<div class="col-sm-8">
									<input id="comboprice" name="comboprice" th:value="${combo.comboprice}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">套餐状态 0关闭 1启用：</label>
								<div class="col-sm-8">
									<!--<input id="combostatus" name="combostatus" th:value="${combo.combostatus}" class="form-control" type="text">-->
									<input name="combostatus" type="radio" value="0" th:checked="${combo.combostatus}==0">停用
									<input name="combostatus" type="radio" value="1" th:checked="${combo.combostatus}==1">启用
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="combocomment" name="combocomment" th:value="${combo.combocomment}" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/sell/combo/edit.js">
	</script>
</body>
</html>
